/////////////////////////////////////////////////////////////////////
// DBMessage.h
//
//
// 11/16/2010
//
/////////////////////////////////////////////////////////////////////

#ifndef __DBMESSAGE_H__
#define __DBMESSAGE_H__

#include "Message/MsgBase.h"
#include "Message/MsgCategory.h"
#include "CommonType.h"

namespace Msg
{
	enum DBMessageCategory
	{
		MC_DB_Player = MC_Cli_Max + 1,
		MC_DB_Role,
		MC_DB_Item,
		MC_DB_Progress,
		MC_DB_Form,
		MC_DB_CoolDown,
	};

	enum ErrorCode
	{
		ecSuccess =		ERR_SUCCESS,
		ecFailed =		ERR_FAILED,
		ecInvaildSession ,
	};
};


class DBMessage : public MsgBase
{
protected:
	DBMessage(char nCate, short nID):MsgBase(nCate, nID), m_errcode(Msg::ecSuccess){;}
public:
	short	m_errcode;
};



#endif // __DBMESSAGE_H__

